<?php

namespace app\admin\exception;
use think\exception\Handle;
use think\Response;
use Throwable;

class Http extends Handle
{
//    public function render($request, Throwable $e): Response
//    {
//        if (method_exists($e, "getStatusCode")) {
//            $statusCode = $e->getStatusCode();
//        } else {
//            $statusCode = 200;
//        }
//        return show(-1, $e->getMessage(),[],$statusCode);
////        return parent::render($request, $e); // TODO: Change the autogenerated stub
//    }
}